export default {
    tabBtn: [
        {
            label: "全部",
            value: "all",
            status: 0
        },
        {
            label: "待提交",
            value: "toSubmit",
            status: 1
        },
        {
            label: "审批中",
            value: "approval",
            status: 2
        },
        {
            label: "审批退回",
            value: "takeBack",
            status: 3
        },
    ],
    // 锁定表格
    fixedTableThead: [
        {
            label: "序号",
            prop: "id",
            width: "38",
            fixed: true,
            type: "index"
        },
        {
            label: "冲销单编号",
            prop: "writeoffCode",
            fixed: true,
            width: "150"
        }
    ],
    // 非锁定表格
    unfixedTableThead: [

        {
            label: "冲销单名称",
            prop: "writeoffName",
            width: "150"
        },
        {
            label: "出库单编号",
            prop: "exwarehouseCode",
            width: "150"
        },
        {
            label: "填报单位",
            prop: "reportInOrgName",
            width: "200"
        },
        {
            label: "仓库",
            prop: "warehouseName"
        },
        {
            label: "冲销数量",
            prop: "exwarehouseCount"
        },
        {
            label: "冲销金额",
            prop: "exwarehouseMoney",
            width: "100",
            align: "right"
        },
        {
            label: "编制人",
            prop: "reportUsername"
        },
        {
            label: "编制日期",
            prop: "reportTime",
            width: "120"
        },
        {
            label: "单据状态",
            prop: "exwarehouseStatus"
        }
    ],
    // 单据状态（2：待提交、4：已撤回、3：审批中、6：审批退回、5：审批通过、21：冲销中、22：已冲销）
    exwStatus: {
        "2": "待提交",
        "3": "审批中",
        "4": "已撤回",
        "5": "审批通过",
        "6": "审批退回",
        "21": "冲销中",
        "22": "已冲销"
    },
    // 全部页签高级搜索 - 单据状态
    statusOptions: [
        {
            label: "待提交",
            value: "2"
        },
        {
            label: "已撤回",
            value: "4"
        },
        {
            label: "审批中",
            value: "3"
        },
        {
            label: "审批退回",
            value: "6"
        },
        {
            label: "审批通过",
            value: "5"
        }
    ],
    // 面包屑导航
    breadcrumbArr: [
        {
            path: "/inventoryManagement/storeManagement/storeManagementList",
            text: "库存管理"
        },
        {
            path: "/inventoryManagement/writeOff/ListAll",
            text: "财务出库管理"
        },
        {
            path: "/inventoryManagement/outBound/all",
            text: "财务出库冲销"
        }
    ],
    // 弹框相关
    dialogData: {
        // 弹框title
        title: "选择出库单",
        // 弹框高级搜索
        formData: [
            {
                model: "exwarehouseCode",
                searchLabel: "出库单编号",
                placeholder: "请输入出库单编号"
            },
            {
                model: "exwarehouseName",
                searchLabel: "出库单名称",
                placeholder: "请输入出库单名称"
            },
            {
                model: "reportInOrgName",
                searchLabel: "填报单位",
                placeholder: "请输入填报单位"
            },
            {
                model: "warehouseName",
                searchLabel: "仓库",
                placeholder: "请输入仓库"
            }
        ],
        formDataSearch: {},
        // 弹框表格数据
        tableData: [],
        // 弹框表头数据
        tableTheadOptions: [
            {
                label: "序号",
                type: "index"
            },
            {
                label: "出库单编号",
                prop: "exwarehouseCode",
                width: "120"
            },
            {
                label: "出库单名称",
                prop: "exwarehouseName"
            },
            {
                label: "填报单位",
                prop: "reportInOrgName",
                width: "190"
            },
            {
                label: "仓库",
                prop: "warehouseName"
            },
            {
                label: "出库数量",
                prop: "exwarehouseCount"
            },
            {
                label: "出库金额",
                prop: "exwarehouseMoney",
                align: "right"
            },
            {
                label: "编制人",
                prop: "reportUsername"
            },
            {
                label: "编制日期",
                prop: "reportTime"
            }
        ],
        // 分页
        pagination: {
            totalNum: 0,
            pageNoCode: 1,
            pageSizeCode: 10
        }
    }
}